<!-- templates/article_form.html -->
{% extends 'base.html' %}

{% block header %}
    {{ form.media }}  <!-- 必须加载：包含 CKEditor 的 CSS/JS -->
{% endblock %}

{% block content %}
    <form method="post">
        {% csrf_token %}
        {{ form.as_p }}
        <button type="submit">提交</button>
    </form>
{% endblock %}